package com.ksc.storekeeper.client.view.validation;

import com.google.gwt.user.client.ui.HasText;
import com.google.gwt.user.client.ui.IsWidget;

public interface IsTelecomValidatingWidget<T> extends IsWidget, HasText {

	void showInvalid();

	void removeInvalid();

	T getValue();

	Validation validateLandline();

	Validation validateAdslUsername();

	String getErrorMessage();

	Validation validateMobileNumber();

	Validation validateGSMNumber();

	Validation validateCDMANumber();

	Validation validateCDMAPostPaidNumber();

	Validation validateGSMPostPaidNumber();

	Validation validateContactNumber();

	Validation validateNcellPostpaidNumber();
}
